import { NestFactory } from '@nestjs/core';
import { ScheduleModule } from './schedule.module';

async function bootstrap() {
  await NestFactory.createApplicationContext(ScheduleModule);
  console.log('开启定时任务')
}
bootstrap();
